/*
 * SharpSensors.h
 *
 *  Created on: 2012.11.29.
 *      Author: AnnaBaba
 */

#include "stm32f4xx.h"
#include "ADC.h"

#ifndef SHARPSENSORS_H_
#define SHARPSENSORS_H_

extern __IO uint16_t SharpSensorValues[3];
extern __IO uint16_t SharpSensorVoltages[3];

#define SS_SS_PORT		GPIOC
// Left sensor PC2
#define SS_LS_PIN		GPIO_Pin_2
// Right sensor PC4
#define SS_RS_PIN		GPIO_Pin_4
//Front sensor PC1
#define SS_FS_PIN		GPIO_Pin_1

void SS_Init(void);
void SS_GetValues(void);


#endif /* SHARPSENSORS_H_ */
